package com.tuyan.aixiang.api.module;

import com.tuyan.aixiang.model.Result;
import com.tuyan.aixiang.model.VersionResult;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;

public interface Version {

    @GET("/v1/p/dr/version/{version}")
    Observable<Result<VersionResult>> checkVersion(@Path("version") Integer channel); // 1 android 2 ios
}
